package com.qili.service.supervisor.impl;

import com.qili.base.mapper.BaseMapper;
import com.qili.base.service.impl.BaseServiceImpl;
import com.qili.entity.supervisor.TjdStage;
import com.qili.entity.supervisor.TmbFile;
import com.qili.entity.supervisor.dto.TbmFileDTO;
import com.qili.entity.supervisor.dto.TjdStageDTO;
import com.qili.mapper.supervisor.TjdStageMapper;
import com.qili.mapper.supervisor.TmbFileMapper;
import com.qili.service.supervisor.TjdStageService;
import com.qili.service.supervisor.TmbFileService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: zhaoyongke
 * @create: 2024-11-03 16:16
 * @description: kk
 */

@Slf4j
@Service
public class TjdStageServiceImpl extends BaseServiceImpl<TjdStage, String> implements TjdStageService {

    @Autowired
    private TjdStageMapper tjdStageMapper;
    @Override
    public BaseMapper<TjdStage, String> getMappser() {
        return tjdStageMapper;
    }


    @Override
    public TjdStageDTO selectStageById(String id) {
        return tjdStageMapper.selectStageById(id);
    }

    @Override
    public List<TjdStageDTO> selectList(TjdStageDTO dto) {
        return tjdStageMapper.selectListByPage(dto);
    }

    @Override
    public List<TjdStageDTO> selectMaxAndMinDate(TjdStageDTO dto) {
        return tjdStageMapper.selectMaxAndMinDate(dto);
    }





}
